package com.future

class TaskUpdate {
  Date dateCreated
  String thisVersion
  String updateInfo
  static belongsTo=[task:Task]
  static mapping={
    columns{
      thisVersion type:'text'
      updateInfo type:'text'
    }
  }
    static constraints = {
      updateInfo(blank:false)
      thisVersion(nullable:true)
    }
}
